package com.example.mapper;


import cn.hutool.json.JSONObject;
import com.example.entity.MedicationLogs;

import java.util.List;

public interface MedicationLogsMapper {
    boolean up(MedicationLogs medicationLogs);

    boolean add(MedicationLogs medicationLogs);

    boolean delete(MedicationLogs medicationLogs);

    List<JSONObject> list(MedicationLogs medicationLogs);

    MedicationLogs getByUserIdDateMedId(MedicationLogs medicationLogs);

    List<MedicationLogs> listAll();

    List<JSONObject> listToday(MedicationLogs medicationLogs);
}
